//
//  WithDrawRecordHeaderView.m
//  GLGW_Shoping
//
//  Created by whx on 2018/12/6.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "WithDrawRecordHeaderView.h"

@interface WithDrawRecordHeaderView ()
{
    GLGWLabel *letfLab;
}
@end

@implementation WithDrawRecordHeaderView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        
        GLGWView *baView = [[GLGWView alloc] initWithInSuperView:self];
        [baView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.right.top.bottom.equalTo(self);
        }];
        baView.backgroundColor = [UIColor colorWithHexString:@"#F2F2F2"];
        
        GLGWLabel *lab = [[GLGWLabel alloc] initWithFont:SYSTEMFONT(12) theColor:[UIColor colorWithHexString:@"#999999"] inSuperView:self];
        lab.text = @"用户名";
        [lab mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.contentView).offset(kHeightProportion_In_iPhoneTriploid(15));
            make.centerY.equalTo(baView.mas_centerY);
        }];
        letfLab = lab;
    }
    return self;
}

- (void)setLeftStr:(NSString *)leftStr
{
    _leftStr = leftStr;
    letfLab.text = leftStr;
}

@end
